<%@ page contentType="text/html; charset=ISO-8859-1" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div class="module">
    <h2><span>Recherche</span></h2>
    <div class="modulecontent">
        <div class="list_head">
            <h3><a href="#">Par Prix</a></h3>
            <span style="float: left; margin-left: 10px">
                <s:form style="padding:12px;" action="../user/ProductByPrice.do" namespace="/user" validate="true">
                    <s:textfield name="min" size="4" label="MIN" required="true" value="0.0" />
                    <s:textfield name="max" size="4" label="MAX" required="true" value="100.0" />
                    <s:textfield name="action" value="1" cssStyle="display: none;" />
                    <s:submit value="Rechercher" />
                </s:form>
            </span>

            <h3><a href="#">Par Nom</a></h3>
            <span style="float: left; margin-left: 10px">
                <s:form style="padding:4px;" action="../user/ProductByName.do" namespace="/user" validate="true">
                    <s:textfield name="name" size="11" label="Nom" required="true" style="margin-bottom:6px;" /><br />
                    <s:radio key="critere" label="Par" list="#{'1':'nom','2':'similitude'}" value="1" />

                    <s:textfield name="action" value="search_name" cssStyle="display: none;" />
                    <s:submit value="Rechercher" />
                </s:form>
            </span>
        </div>
    </div>
    <div class="module_btm">&nbsp;</div>
</div>
